print(float(input())*9/5 + 32)